<?php

namespace App\Models;



use Illuminate\Database\Eloquent\Model;

class ItemIcon extends Model
{
    protected $connection = 'mysql';
    protected $table = 'item_icon';
    public $timestamps = false;

    public $url='/icon/';
//     inv_misc_questionmark
    public function path(){
        return $this->url.strtolower($this->name).'.png';
    }
}
